package com.tjsinfo.tjsoa.mail.dao;

import java.util.List;

import com.tjsinfo.tjsoa.mail.vo.TjsDeleteEmail;
import com.tjsinfo.tjsoa.mail.vo.TjsemailReceived;

public interface ITjsemailReceivedDao extends ImailDaoBase{
	public List<TjsemailReceived> selectReceivedMailById(String recid);
	public List<TjsemailReceived> countReceivedMail(String userid,Integer recstart);
	public List<TjsemailReceived> findAll();
	/**
	 * 查询收件人的收件
	 * @param 用户ID
	 * @return
	 */
	public List<TjsemailReceived> selectReceivedListByUserId(String userid,String username);
	/**
	 * 查询的收件基于ID
	 * @param 收件ID
	 * @return
	 */
	public List<TjsemailReceived> selectReceivedListById(String recId);
	/**
	 * 查询收件的具体内容
	 * @param 收件ID
	 * @param 用户ID
	 * @return
	 */
	public List<TjsemailReceived>  selectReceivedMailById(Object[] id);
	
	/**
	 * 根据状态查询收件
	 * @param parm
	 * @return
	 */
	public List<TjsemailReceived> selectReceivedMailStart(Object parm[]);
	/**
	 * 查询收件标题
	 * @param 关键字
	 * @return
	 */
	public List<TjsemailReceived> selectReceivedMailTitile(Object[] title);
}